package com.ydlclass.betterPool;

public class mainsss {
    public static void main(String[] args) {
        UserDao userDao = new UserDao();
//        userDao.delete(new User(), 9);
//        List<User> users = userDao.selectAll(User.class);
//        System.out.println(users);
        User user = userDao.selectOne(User.class, 1);
        System.out.println(user.toString());

        StudentDao studentDao = new StudentDao();
//        studentDao.delete(new Student(), 13);
//        List<Student> students = studentDao.selectAll(Student.class);
//        System.out.println(students);
        Student student = studentDao.selectOne(Student.class, 1);
        System.out.println(student);
    }
}
